package com.avalon.core.face.field;

import java.math.BigDecimal;

public class BigDecimalFieldDefaultValue implements IFieldDefaultValue {
    @Override
    public Object getDefault() {
        return BigDecimal.ZERO;
    }

    @Override
    public String getDefaultString() {
        return "0";
    }

    private static final BigDecimalFieldDefaultValue instance = new BigDecimalFieldDefaultValue();

    public static BigDecimalFieldDefaultValue getInstance() {
        return instance;
    }
}
